<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>iPhone数码旗舰店 - 官方授权经销商</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
	<link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
	<link href="../static/css/animate.min.css" th:href="@{/css/animate.min.css}" rel="stylesheet"/>
	<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
	<style>
		:root {
            --primary-color: #0071e3;
            --primary-dark: #005bbf;
            --secondary-color: #f5f5f7;
            --text-dark: #1d1d1f;
            --text-light: #86868b;
            --white: #ffffff;
            --black: #000000;
        }

        body {
            background-color: #f5f5f7;
            font-family: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .container-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
            overflow: hidden;
        }

        /* 头部样式 */
        .header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .header-logo img {
            height: 40px;
            transition: transform 0.3s;
        }

        .header-logo img:hover {
            transform: scale(1.05);
        }

        .header-nav {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .header-nav a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition: color 0.3s;
        }

        .header-nav a:hover {
            color: var(--primary-color);
        }

        .header-nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
            transition: width 0.3s;
        }

        .header-nav a:hover:after {
            width: 100%;
        }

        /* 自定义跳转按钮样式 */
        .custom-jump-btn {
            background-color: var(--primary-color);
            color: white !important;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 500;
            transition: all 0.3s;
            margin-left: 15px;
            box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
            border: none;
            cursor: pointer;
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 14px;
            text-decoration: none;
            display: inline-block;
        }

        .custom-jump-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);
        }

        .custom-jump-btn i {
            margin-right: 5px;
        }

        /* 英雄区域 */
        .hero-section {
            background: linear-gradient(135deg, #000000 0%, #2c3e50 100%);
            color: var(--white);
            padding: 80px 0;
            text-align: center;
            margin-bottom: 40px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            animation: fadeIn 1s ease-in-out;
        }

        .hero-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-15-pro-finish-select-202309-6-1inch?wid=5120&hei=2880&fmt=p-jpg&qlt=80&.v=1693009279096') center/cover no-repeat;
            opacity: 0.4;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-section h1 {
            font-size: 42px;
            margin-bottom: 20px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            animation: slideInDown 0.8s ease-out;
        }

        .hero-section p {
            font-size: 18px;
            margin-bottom: 30px;
            opacity: 0.9;
            animation: fadeIn 1s ease-in-out 0.3s forwards;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border: none;
            color: var(--white);
            padding: 12px 30px;
            font-size: 16px;
            font-weight: 500;
            border-radius: 30px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
            box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
            animation: fadeInUp 1s ease-in-out 0.6s forwards;
            opacity: 0;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 113, 227, 0.4);
        }

        /* 产品展示 */
        .product-section {
            padding: 60px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h2 {
            font-size: 32px;
            color: var(--text-dark);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
            font-weight: 600;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin: 0 auto;
        }

        .product-card {
            background-color: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .product-card:nth-child(1) { animation-delay: 0.1s; }
        .product-card:nth-child(2) { animation-delay: 0.2s; }
        .product-card:nth-child(3) { animation-delay: 0.3s; }
        .product-card:nth-child(4) { animation-delay: 0.4s; }
        .product-card:nth-child(5) { animation-delay: 0.5s; }
        .product-card:nth-child(6) { animation-delay: 0.6s; }

        .product-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .product-image {
            height: 240px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8f8f8;
            position: relative;
        }

        .product-image img {
            width: 80%;
            height: 80%;
            object-fit: contain;
            transition: transform 0.5s ease-out;
        }

        .product-card:hover .product-image img {
            transform: scale(1.1);
        }

        .product-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: var(--primary-color);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: bold;
            z-index: 2;
        }

        .product-info {
            padding: 20px;
        }

        .product-info h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--text-dark);
            font-weight: 600;
        }

        .product-info p {
            color: var(--text-light);
            font-size: 14px;
            margin-bottom: 15px;
            min-height: 42px;
        }

        .product-price {
            font-size: 22px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .btn-buy {
            display: block;
            text-align: center;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 0;
            border-radius: 8px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn-buy:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* 特色服务 */
        .features-section {
            background-color: var(--white);
            padding: 70px 0;
            border-radius: 16px;
            margin-bottom: 40px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .feature-item {
            text-align: center;
            padding: 25px;
            transition: all 0.3s;
            border-radius: 12px;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }

        .feature-icon {
            font-size: 42px;
            color: var(--primary-color);
            margin-bottom: 20px;
            transition: transform 0.3s;
        }

        .feature-item:hover .feature-icon {
            transform: scale(1.1);
        }

        .feature-item h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--text-dark);
            font-weight: 600;
        }

        .feature-item p {
            color: var(--text-light);
            font-size: 15px;
        }

        /* 页脚 */
        .footer {
            background-color: #1d1d1f;
            color: white;
            padding: 60px 0 30px;
            margin-top: 70px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-col h4 {
            color: var(--white);
            font-size: 18px;
            margin-bottom: 25px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h4:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
        }

        .footer-col p, .footer-col a {
            color: #a1a1a6;
            font-size: 15px;
            line-height: 1.8;
            transition: color 0.3s;
        }

        .footer-col a {
            display: block;
            margin-bottom: 8px;
            text-decoration: none;
        }

        .footer-col a:hover {
            color: var(--primary-color);
        }

        .contact-info {
            margin-bottom: 15px;
        }

        .contact-info i {
            width: 20px;
            text-align: center;
            margin-right: 8px;
            color: var(--primary-color);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: #2c2c2e;
            border-radius: 50%;
            color: white;
            font-size: 18px;
            transition: all 0.3s;
        }

        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }

        /* 二维码部分 */
        .qr-code-section {
            text-align: center;
            padding: 30px;
            background-color: var(--white);
            border-radius: 16px;
            margin-top: 40px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .qr-code-section img {
            max-width: 180px;
            margin-bottom: 20px;
            border: 1px solid #eee;
            padding: 10px;
            border-radius: 8px;
        }

        .qr-code-section p {
            font-size: 16px;
            color: var(--text-dark);
            font-weight: 500;
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 响应式调整 */
        @media (max-width: 992px) {
            .hero-section h1 {
                font-size: 36px;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                padding: 15px 0;
            }

            .header-nav {
                margin-top: 15px;
                gap: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .custom-jump-btn {
                margin-left: 0;
            }

            .hero-section {
                padding: 60px 0;
            }

            .hero-section h1 {
                font-size: 28px;
            }

            .hero-section p {
                font-size: 16px;
            }

            .section-title h2 {
                font-size: 28px;
            }

            .product-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 20px;
            }

            .product-image {
                height: 200px;
            }

            .features-section .row > div {
                margin-bottom: 20px;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 576px) {
            .product-grid {
                grid-template-columns: 1fr;
            }

            .hero-section h1 {
                font-size: 24px;
            }
        }
	</style>
</head>

<body class="gray-bg">
<!-- 头部导航 -->
<header class="header">
	<div class="container-wrapper">
		<div class="header-container">
			<div class="header-logo">
				<img th:src="@{/img/logo.png}" alt="iPhone数码旗舰店" onerror="this.src='https://www.apple.com/ac/globalnav/7/zh_CN/images/be15095f-5a20-57d0-ad14-cf4c638e223a/globalnav_apple_image__b5er5ngrzxqq_large.svg'">
			</div>
			<nav class="header-nav">
				<a href="#products">产品中心</a>
				<a href="#features">服务优势</a>
				<a href="#about">关于我们</a>
				<a href="#contact">联系我们</a>
				<!-- 修改后的数据报表按钮 -->
				<a class="custom-jump-btn" id="reportBtn"
				   href="http://localhost:63342/ims-java-web/ruoyi-admin/templates/report.html?_ijt=u8v3prf8ojenm31r7br82c4r1f&_ij_reload=RELOAD_ON_SAVE"
				   target="_blank">
					<i class="fa fa-bar-chart"></i> 数据报表
				</a>
			</nav>
		</div>
	</div>
</header>

<!-- 使用容器包装整个内容，使其居中 -->
<div class="container-wrapper">
	<!-- 英雄区域 -->
	<div class="hero-section">
		<div class="hero-content">
			<h1>iPhone 15系列 震撼上市</h1>
			<p>Apple官方授权经销商 · 正品保障 · 全国联保 · 分期免息</p>
			<a href="#products" class="btn btn-primary">立即选购</a>
		</div>
	</div>

	<!-- 产品展示 -->
	<div class="product-section" id="products">
		<div class="section-title">
			<h2>热销产品</h2>
			<p>Apple全系列产品及配件一站式购齐</p>
		</div>

		<div class="product-grid">
			<!-- iPhone 15 Pro Max -->
			<div class="product-card">
				<div class="product-badge">新品</div>
				<div class="product-image">
					<img src="https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-15-pro-finish-select-202309-6-1inch?wid=5120&hei=2880&fmt=p-jpg&qlt=80&.v=1693009279096"
						 alt="iPhone 15 Pro Max" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>iPhone 15 Pro Max</h3>
					<p>钛金属设计，A17 Pro芯片，5倍长焦摄像头，USB-C接口</p>
					<div class="product-price">¥9999 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>

			<!-- iPhone 15 Pro -->
			<div class="product-card">
				<div class="product-badge">热卖</div>
				<div class="product-image">
					<img src="https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-15-pro-finish-select-202309-6-1inch?wid=5120&hei=2880&fmt=p-jpg&qlt=80&.v=1693009279096"
						 alt="iPhone 15 Pro" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>iPhone 15 Pro</h3>
					<p>A17 Pro芯片，钛金属边框，专业级相机系统，Action按钮</p>
					<div class="product-price">¥7999 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>

			<!-- iPhone 15 -->
			<div class="product-card">
				<div class="product-image">
					<img src="https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-15-finish-select-202309-6-1inch-pink?wid=5120&hei=2880&fmt=p-jpg&qlt=80&.v=1692719973224"
						 alt="iPhone 15" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>iPhone 15</h3>
					<p>超视网膜XDR显示屏，A16仿生芯片，4800万像素主摄，灵动岛</p>
					<div class="product-price">¥5999 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>

			<!-- AirPods Pro 2 -->
			<div class="product-card">
				<div class="product-badge">降噪</div>
				<div class="product-image">
					<img src="https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/MTJV3?wid=572&hei=572&fmt=jpeg&qlt=95&.v=1694014871985"
						 alt="AirPods Pro 2" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>AirPods Pro (第二代)</h3>
					<p>主动降噪，自适应通透模式，个性化空间音频，MagSafe充电</p>
					<div class="product-price">¥1899 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>

			<!-- Apple Watch Series 9 -->
			<div class="product-card">
				<div class="product-badge">新品</div>
				<div class="product-image">
					<img src="https://img0.baidu.com/it/u=3963788045,279373036&fm=253&fmt=auto&app=138&f=PNG?w=500&h=500"
						 alt="Apple Watch Series 9" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>Apple Watch Series 9</h3>
					<p>更亮的显示屏，S9芯片，双击手势控制，精确查找iPhone</p>
					<div class="product-price">¥2999 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>

			<!-- MagSafe 充电器 -->
			<div class="product-card">
				<div class="product-image">
					<img src="https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/MHXH3?wid=572&hei=572&fmt=jpeg&qlt=95&.v=1661269358884"
						 alt="MagSafe 充电器" onerror="this.src='/img/default-product.jpg'">
				</div>
				<div class="product-info">
					<h3>MagSafe 充电器</h3>
					<p>磁性对齐，高效充电，兼容iPhone和AirPods无线充电盒</p>
					<div class="product-price">¥329 起</div>
					<a href="#" class="btn-buy">立即购买</a>
				</div>
			</div>
		</div>
	</div>

	<!-- 特色服务 -->
	<div class="features-section" id="features">
		<div class="section-title">
			<h2>我们的优势</h2>
			<p>选择iPhone数码旗舰店的五大理由</p>
		</div>

		<div class="row">
			<div class="col-sm-4 col-md-3">
				<div class="feature-item">
					<div class="feature-icon">
						<i class="fa fa-certificate"></i>
					</div>
					<h3>正品保障</h3>
					<p>所有产品均为苹果官方授权，100%正品保证，可官网查询序列号</p>
				</div>
			</div>

			<div class="col-sm-4 col-md-3">
				<div class="feature-item">
					<div class="feature-icon">
						<i class="fa fa-certificate"></i>
					</div>
					<h3>专业服务</h3>
					<p>Apple认证工程师提供技术支持，一对一专业咨询服务</p>
				</div>
			</div>

			<div class="col-sm-6 col-md-3">
				<div class="feature-item">
					<div class="feature-icon">
						<i class="fa fa-rocket"></i>
					</div>
					<h3>极速配送</h3>
					<p>全国顺丰包邮，一线城市当日达，二线城市次日达</p>
				</div>
			</div>

			<div class="col-sm-6 col-md-3">
				<div class="feature-item">
					<div class="feature-icon">
						<i class="fa fa-credit-card"></i>
					</div>
					<h3>分期免息</h3>
					<p>支持花呗、信用卡分期付款，最高24期免息</p>
				</div>
			</div>
		</div>
	</div>

	<!-- 页脚 -->
	<footer class="footer" id="contact">
		<div class="footer-container">
			<div class="footer-col" id="about">
				<h4>关于我们</h4>
				<p>iPhone数码旗舰店是Apple官方授权经销商，成立于2010年，拥有12年专业苹果产品销售和服务经验，全国50+门店，服务超过100万客户。</p>
				<div class="social-links">
					<a href="#"><i class="fa fa-weixin"></i></a>
					<a href="#"><i class="fa fa-weibo"></i></a>
					<a href="#"><i class="fa fa-qq"></i></a>
				</div>
			</div>

			<div class="footer-col">
				<h4>联系方式</h4>
				<div class="contact-info">
					<p><i class="fa fa-phone"></i> 客服热线: 400-123-4567</p>
					<p><i class="fa fa-envelope"></i> 商务合作: business@iphonestore.com</p>
					<p><i class="fa fa-map-marker"></i> 总部地址: 北京市朝阳区建国路88号SOHO现代城A座2001</p>
				</div>
			</div>

			<div class="footer-col">
				<h4>客户服务</h4>
				<div class="footer-links">
					<a href="#">购物指南</a>
					<a href="#">支付方式</a>
					<a href="#">配送方式</a>
					<a href="#">售后服务</a>
					<a href="#">常见问题</a>
				</div>
			</div>

			<div class="footer-col">
				<h4>法律信息</h4>
				<div class="footer-links">
					<a href="#">隐私政策</a>
					<a href="#">服务条款</a>
					<a href="#">营业执照</a>
					<a href="#">授权证书</a>
				</div>
			</div>
		</div>
	</footer>

	<!-- 二维码 -->
	<div class="qr-code-section">
		<img src="https://img1.baidu.com/it/u=1155580619,1357715492&fm=253&fmt=auto&app=120&f=JPEG?w=555&h=500" alt="扫码关注" onerror="this.src='/img/default-qr.png'">
		<p>扫码关注官方公众号，获取最新优惠信息</p>
	</div>
</div>

<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/wow.min.js}"></script>
<script type="text/javascript">
	document.addEventListener('DOMContentLoaded', function() {
        // 初始化动画效果
        new WOW().init();

        // 增强版数据报表按钮点击处理
        document.getElementById('reportBtn').addEventListener('click', function(e) {
            e.preventDefault();

            // 定义所有可能的URL尝试路径
            const urlAttempts = [
                // 原始URL
                'http://localhost:63342/ims-java-web/ruoyi-admin/templates/report.html?_ijt=u8v3prf8ojenm31r7br82c4r1f&_ij_reload=RELOAD_ON_SAVE',
                // 简化版URL
                'http://localhost:63342/ims-java-web/ruoyi-admin/templates/report.html',
                // Spring Boot默认开发URL
                'http://localhost:8080/report',
                // 相对路径尝试
                '/report',
                'report.html',
                // 备用路径
                '../templates/report.html'
            ];

            // 尝试打开URL
            let success = false;
            for (const url of urlAttempts) {
                try {
                    const testWindow = window.open(url, '_blank');
                    if (testWindow && !testWindow.closed) {
                        success = true;
                        break;
                    }
                } catch (err) {
                    console.error('Failed to open URL:', url, err);
                }
            }

            if (!success) {
                alert('无法打开报表页面，请确保:\n1. 服务器正在运行\n2. 文件路径正确\n3. 端口未被占用');
            }
        });

        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            if(anchor.getAttribute('id') !== 'reportBtn') {
                anchor.addEventListener('click', function(e) {
                    e.preventDefault();
                    document.querySelector(this.getAttribute('href')).scrollIntoView({
                        behavior: 'smooth'
                    });
                });
            }
        });

        // 图片加载失败处理
        const images = document.querySelectorAll('img');
        images.forEach(img => {
            img.addEventListener('error', function() {
                if (this.src.includes('logo')) {
                    this.src = 'https://www.apple.com/ac/globalnav/7/zh_CN/images/be15095f-5a20-57d0-ad14-cf4c638e223a/globalnav_apple_image__b5er5ngrzxqq_large.svg';
                } else if (this.src.includes('qr')) {
                    this.src = 'https://www.apple.com/ac/qr/images/overview/hero/qr-code-202309.png';
                } else {
                    this.src = 'https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-card-40-iphone15prohero-202309_FMT_WHH?wid=508&hei=472&fmt=p-jpg&qlt=95&.v=1693086298893';
                }
                this.style.border = '1px solid #eee';
                this.style.padding = '10px';
                this.style.backgroundColor = '#f8f8f8';
            });
        });

        // 产品卡片悬停效果增强
        const productCards = document.querySelectorAll('.product-card');
        productCards.forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-10px)';
                this.style.boxShadow = '0 15px 30px rgba(0, 0, 0, 0.15)';
            });

            card.addEventListener('mouseleave', function() {
                this.style.transform = '';
                this.style.boxShadow = '';
            });
        });
    });
</script>
</body>
</html>